package mylab.utils.common;

import lombok.experimental.UtilityClass;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@UtilityClass
public class JdkUtil {

    public String getJdkVersion() {
        return System.getProperty("java.version");
    }

    public String getUserDir() {
        return System.getProperty("user.dir");
    }

    public String getTmpDir() {
        return System.getProperty("java.io.tmpdir");
    }

    public static void main(String[] args) {
        log.info("Java Version: " + getJdkVersion());
    }
}
